package org.kealinghornets.nxtdroid;

/**
 * Created by chuah on 12/2/14.
 */
public class NXTThread2 extends NXTTheard1 {
    public NXTThread2 () {setNXTThreadName("Ice Cream");}

    public void  run() {
        wait(3000);
        runMotor(PORT_A,-100);
        runMotor(PORT_B,+100);
        wait(1000);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(20000);
        runMotor(PORT_A,+100);
        runMotor(PORT_B,-100);
        wait(500);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(23000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();
    }
}
